Airwallex\Gateways\Card D

Total Complexity 160
Dependencies 19
Dependents 9
Total lines 894
Lines of code 737
Logical lines of code 352
Comment lines 36
Methods 36
Properties 10

Methods 36

Method Rating Maintainability Complexity Lines of code
payment_fields()
C
38 25 63
process_payment()
B
33 21 88
filterTokens()
A
47 10 34
getCardLogos()
A
52 9 23
deletePaymentMethodAction()
A
52 9 22
get_form_fields()
A
41 5 65
__construct()
S
55 7 17
enqueueScriptsForEmbeddedCard()
S
48 5 31
output()
S
44 4 45
capture()
S
52 5 25
savedTokens()
S
51 5 24
getCardRedirectData()
S
46 3 41
change_subscription_payment_method()
S
53 4 23
syncSaveCards()
S
53 4 22
getPaymentConsentIdsInDB()
S
54 4 21
registerHooks()
S
52 3 21
add_payment_method()
S
56 3 18
get_icon()
S
60 3 13
getCustomerClientSecret()
S
54 2 23
getTokens()
S
58 2 17
formatCardType()
S
56 2 17
subscription_payment_information()
S
68 3 7
has_fields()
S
70 3 6
getMetaData()
S
66 3 8
enable_subscription_upsell_support()
S
71 2 6
deletePaymentMethod()
S
71 2 6
isContainSubscription()
S
72 2 6
is_captured()
S
64 2 10
saveAwxPaymentConsentDetail()
S
62 1 11
add_supported_gateways()
S
71 1 6
enqueueScriptForRedirectCard()
S
81 1 3
enqueueAdminScripts()
S
91 1 2
is_capture_immediately()
S
78 1 3
is_save_card_enabled()
S
78 1 3
is_skip_cvc_enabled()
S
78 1 3
getDescriptorSetting()
S
74 1 4